import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import { resolveComponent } from '@vue/runtime-core'


import {resolve} from "path";

// https://vitejs.dev/config/
export default defineConfig({
  server:{
    host:'0.0.0.0',
    port:8080,
    open:true
  },
  resolve:{
    alias:{
      "@": resolve(__dirname, "src"),
      "components": resolve(__dirname, "src/components"),
      // "styles": resolve(__dirname, "src/styles"),
      // "plugins": resolve(__dirname, "src/plugins"),
      "views": resolve(__dirname, "src/views"),
      // "layouts": resolve(__dirname, "src/layouts"),
      // "utils": resolve(__dirname, "src/utils"),
    }
  },
  plugins: [vue()],
})

